#!/usr/bin/env python

import sys
import os
from pacmon import core

def main(argv):
	if os.path.exists(os.getcwd() + '/images'):
		DATA_DIR = os.getcwd()
	else:
		DATA_DIR = '/usr/share/pacmon'
	app = core.PacmonGUI(DATA_DIR)
	app.run()

if __name__ == '__main__':
	sys.exit(main(sys.argv))
